Reshuffle action muxer initialization
authorMatthias Clasen <mclasen@redhat.com>
Tue, 28 Apr 2020 22:34:23 +0000 (18:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 Apr 2020 22:37:43 +0000 (18:37 -0400)
commitb968ced5676aa793613cd3ac02444d75826708a9
tree8592ced114bd9df2febfe2e69efdcdb465d2930c
parent65c56ea81274ef234b72cc12f9c78acd0314745f
Reshuffle action muxer initialization

We were having a problem where property actions were
not getting state updates because prop_actions_connect
was triggered from some instance_init function while
the widget class is not in place yet.

Delay that call until the widget is fully constructed,
so we can guarantee that we are dealing with the
correct class private struct, and see all class actions.
gtk/gtkactionmuxer.c
gtk/gtkactionmuxerprivate.h
gtk/gtkwidget.c